package com.learn.service.impl;

import com.learn.mapper.UserMapper;
import com.learn.pojo.User;
import com.learn.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author DJJ_F
 * @version 1.0
 * @date 2025/02/17
 * @description
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUserByPhone(String phone) {
        return userMapper.selectByPhone(phone);
    }
}
